<?php
namespace Jykj\Mass\Domain\Model;

/***************************************************************
 *
 *  Copyright notice
 *
 *  (c) 2017 WHB <wanghongbin@ngoos.org>, 极益科技
 *
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
 *  free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  The GNU General Public License can be found at
 *  http://www.gnu.org/copyleft/gpl.html.
 *
 *  This script is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/

/**
 * 群发短信
 */
class Sms extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
{

    /**
     * modelNum
     *
     * 短信模板编号
     * @var string
     */
    protected $modelNum = '';
    
    /**
     * sender
     *
     * 发送者（签名）
     * @var string
     */
    protected $sender = '';
    
    /**
     * recriver
     *
     * 接收者
     * @var string
     */
    protected $recriver = '';
    
    /**
     * sendStatus
     *
     * 发送状态
     * @var bool
     */
    protected $sendStatus = false;
    
    /**
     * successRate
     *
     * 成功率
     * @var string
     */
    protected $successRate = '';
    
    /**
     * spare
     *
     * @var string
     */
    protected $spare = '';

    /**
     * total
     *
     * 总计
     * @var string
     */
    protected $total = '';

    /**
     * Returns the modelNum
     *
     * @return string $modelNum
     */
    public function getModelNum()
    {
        return $this->modelNum;
    }
    
    /**
     * Sets the modelNum
     *
     * @param string $modelNum
     * @return void
     */
    public function setModelNum($modelNum)
    {
        $this->modelNum = $modelNum;
    }
    
    /**
     * Returns the sender
     *
     * @return string $sender
     */
    public function getSender()
    {
        return $this->sender;
    }
    
    /**
     * Sets the sender
     *
     * @param string $sender
     * @return void
     */
    public function setSender($sender)
    {
        $this->sender = $sender;
    }
    
    /**
     * Returns the recriver
     *
     * @return string $recriver
     */
    public function getRecriver()
    {
        return $this->recriver;
    }
    
    /**
     * Sets the recriver
     *
     * @param string $recriver
     * @return void
     */
    public function setRecriver($recriver)
    {
        $this->recriver = $recriver;
    }
    
    /**
     * Returns the sendStatus
     *
     * @return bool $sendStatus
     */
    public function getSendStatus()
    {
        return $this->sendStatus;
    }
    
    /**
     * Sets the sendStatus
     *
     * @param bool $sendStatus
     * @return void
     */
    public function setSendStatus($sendStatus)
    {
        $this->sendStatus = $sendStatus;
    }
    
    /**
     * Returns the boolean state of sendStatus
     *
     * @return bool
     */
    public function isSendStatus()
    {
        return $this->sendStatus;
    }
    
    /**
     * Returns the successRate
     *
     * @return string $successRate
     */
    public function getSuccessRate()
    {
        return $this->successRate;
    }
    
    /**
     * Sets the successRate
     *
     * @param string $successRate
     * @return void
     */
    public function setSuccessRate($successRate)
    {
        $this->successRate = $successRate;
    }
    
    /**
     * Returns the spare
     *
     * @return string $spare
     */
    public function getSpare()
    {
        return $this->spare;
    }
    
    /**
     * Sets the spare
     *
     * @param string $spare
     * @return void
     */
    public function setSpare($spare)
    {
        $this->spare = $spare;
    }

    /**
     * crdate
     *
     * @var integer
     */
    protected $crdate;
    
    /**
     * Get creation date
     *
     * @return integer
     */
    public function getCrdate() {
        return $this->crdate;
    }
    
    /**
     * Sets the total
     *
     * @param string $total
     * @return void
     */
    public function setTotal($total)
    {
        $this->total = $total;
    }

    /**
     * Returns the total
     *
     * @return string $total
     */
    public function getTotal()
    {
        return $this->total;
    }
}